package org.fengling.readingplatform.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.fengling.readingplatform.model.entity.base.BaseEntity;

@Data
@Schema(description = "系统小说实体类")
public class Novel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "小说名称")
    private String title;

    @Schema(description = "小说作者")
    private String author;

    @Schema(description = "小说封面图相对路径")
    private String coverPic;

    @Schema(description = "小说分类")
    private String category;

    @Schema(description = "小说简介")
    private String description;

    @Schema(description = "状态（1：正常 0：停用）")
    private Integer status;
}
